<template>
  <div style="position: relative; width: 400px; padding-top: 60px; background-color: #fab00577">
    <Spin :active="active" inner></Spin>
  </div>
  <p>切换加载中状态：<Switch v-model:value="active"></Switch></p>
</template>

<script setup lang="ts">
import { ref } from 'vue'

const active = ref(true)
</script>
